<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Here Viet Nam</title>
<link rel="stylesheet" href="/public/themes/second/css/herevn.css" type="text/css"  /> 
<link href="/public/themes/second/css/jsddm.css" media="screen" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/public/library/jquery/jquery.js"></script>
  <script type="text/javascript" src="/public/library/hvn/hvn.js"></script>
  <script type="text/javascript" src="/public/library/hvn/jquery.svgallery.js"></script> 
  <script type="text/javascript" src="/public/themes/second/js/ddm.js"></script>
  <script src="/public/library/jquery/thickbox/jquery.DOMWindow.js" type="text/javascript"></script>

<script type="text/javascript">
/*
$(function() {
    var currentMenu = '<?=$this->placeholder("currentPage")?>';
    
    $('#menu .menu-item').hover(
        function(){
            $(this).addClass('hover-state').removeClass('normal-state');  
         },
         function(){
            $(this).removeClass('hover-state').addClass('normal-state');    
            //if (in_array(currentMenu, {'home','place','event','tour',}))  
            if (currentMenu != 'undefined')  
            	$('#' + currentMenu).addClass('hover-state').removeClass('normal-state');
         }
     ).
     click(
        function(e)
        {   
            window.location.href = $(this).find('a').attr('href');
        }
     );
     if (currentMenu != 'undefined')
     	$('#' + currentMenu).addClass('hover-state').removeClass('normal-state');
});
*/
</script>
</head>
<body>

<?  
    $holderWeights = Zend_Registry::get('holderWeights');
    asort ($holderWeights );
    $sess = new Zend_Session_Namespace(CLU_NS);
?>

<div id="main-content-body">
<!-- begin region0 -->
	<div id="region0">
	<div class="top"> 
	<?$region1BoxId = 0;
         foreach ($holderWeights as $k=>$v) :?>
            <?if (strpos ($k, 'region1') === 0) :?>
                <? $region1BoxId ++;?>
                <? if ($region1BoxId === 1) :?>
                <div class='region1'>
                <?endif?>
                <?if ($v === 1) :?>
                    <div  class='box1' id="<?=$k.'_weight'.$v?>">
                    <?echo $this->placeholder($k) ;?>
                    </div>
                <?endif?>
            <?endif ?>
        <? endforeach ?>
        
        <? if ($region1BoxId > 0) :?>
                 </div>
         <?endif?>
	</div>
	</div>
<!-- end region0 -->	
<div class="clear"></div>
<!-- begin region1 -->
<div id="region1">
	<div class="banner">
	    <div class="logo">
			<img src="/public/themes/second/images/logo.jpg" align="absmiddle" />
		</div>
		<div class="advert-top">
			<img src="/public/themes/second/images/adtop.jpg" align="absmiddle" />
		</div>
	</div>
</div>
<!-- end region1 -->	
<div class="clear"></div>

<!-- begin region2 -->
<div id="region2">
     <?echo $this->placeholder('region2_box1') ;?>
</div>

<!-- end region2 -->
<div class="clear"></div>	
<!-- begin region3 -->	
<div id="region3">
  <div class="bg_search_view_tours">
  <? $region3BoxId = 0;    
                foreach ($holderWeights as $k=>$v) :?>
                <?if (strpos ($k, 'region3') === 0) :?>
                <? $region3BoxId ++;?>
                <? if ($region3BoxId === 1) :?>
                <div class='region3'>
                <?endif?>
                    <?if($v === 1) :?>
                    <div  class='box' id="<?=$k.'_weight'.$v?>">
                        <?echo $this->placeholder($k);?>
                   </div>
                    <?endif?>
                <?endif ?>
            <? endforeach ?>
                <? if ($region3BoxId > 0) :?>
                </div>
             <?endif?>		
	</div>
</div>

<!-- end region3 -->
<div class="clear"></div>


<!-- begin region11 -->
<div id="region11">
        <? $region3BoxId = 0;    
                 foreach ($holderWeights as $k=>$v) :?>
                <?if (strpos ($k, 'region3') === 0) :?>
                <? $region3BoxId ++;?>
                <? if ($region3BoxId === 1) :?>
                <div class='region3'>
                <?endif?>
                    <?if($v === 2) :?>
                    <div  class='box' id="<?=$k.'_weight'.$v?>">
                        <?echo $this->placeholder($k);?>
                   </div>
                    <?endif?>
                <?endif ?>
            <? endforeach ?>
                <? if ($region3BoxId === 1) :?>
                </div>
             <?endif?>	
</div>
<!-- end region11 -->
<!-- begin region4 -->
<div id="region4">
<!-- begin region5 -->
	
		   <div id="region5">
			  <? $region4BoxId = 0;   
				foreach ($holderWeights as $k=>$v) :?>
			            <?if (strpos ($k, 'region4') === 0) :?>
				            <? $region4BoxId ++;?>
				            <? if ($region4BoxId === 4) :?>
				            		<div class='region4'>
				            <?endif?>
					             <?if($v === 1) :?>
					                <div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
					                </div>
				             	<?endif?>
			            <?endif ?>
			            <? if ($region4BoxId === 4 ) :?>
			            </div>
			            <?endif?>
		        <? endforeach ?>
		   <div class="box_detail_tours">
		   <? $region4BoxId = 0;   
				foreach ($holderWeights as $k=>$v) :?>
			            <?if (strpos ($k, 'region4') === 0) :?>
				            <? $region4BoxId ++;?>
				            <? if ($region4BoxId === 4) :?>
				            		<div class='region4'>
				            <?endif?>
				            	<?if($v === 1) :?>
					                <div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
					                </div>
				              	<?elseif($v === 3) :?>
					                <div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
					                </div>
					            <?elseif($v === 4) :?>
					                <div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
					                </div>
				             	<?endif?>
			            <?endif ?>
			            <? if ($region4BoxId === 4 ) :?>
			            	</div>
			            <?endif?>
			        <? endforeach ?>
		   </div>
			<!--<div class="box_detail_tours">   </div-->
		   <!-- Thong tin khuyen mai -->
		   <? $region4BoxId = 0;   
				foreach ($holderWeights as $k=>$v) :?>
			            <?if (strpos ($k, 'region4') === 0) :?>
				            <? $region4BoxId ++;?>
				            <? if ($region4BoxId === 4) :?>
				            		<div class='region4'>
				            <?endif?>
					             <?if($v === 5) :?>
					                <div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
					                </div>
				             	<?endif?>
			            <?endif ?>
			            <? if ($region4BoxId === 4 ) :?>
			            </div>
			            <?endif?>
			        <? endforeach ?>
		   <!-- end thong tin khuyen mai --> 
		   
		   <div class="box_adv_tour">
				<img src="/public/themes/second/images/duhoc.jpg" align="absmiddle" />
				<img src="/public/themes/second/images/duhoc.jpg" align="absmiddle" />
				<img src="/public/themes/second/images/duhoc.jpg" align="absmiddle" />
				<img src="/public/themes/second/images/duhoc.jpg" align="absmiddle" />
		   </div>
		   <div class="clear"></div>
		   <!-- hoi dap tu van -->
		   <? $region4BoxId = 0;    //die_a($holderWeights);
				foreach ($holderWeights as $k=>$v) :?>
			            <?if (strpos ($k, 'region4') === 0) :?>
				            <? $region4BoxId ++;?>
				            <? if ($region4BoxId === 4) :?>
				           		 <div class='region4'>
				            <?endif?>
				            <?if($v === 7) :?>
				            	<div  class='box' id="<?=$k.'_weight'.$v?>">
					                <?echo $this->placeholder($k);?>
				                </div>
				             <?endif?>
			            <?endif ?>
			            <? if ($region4BoxId === 4 ) :?>
			            	</div>
			            <?endif?>
			        <? endforeach ?>
		   <!-- end hoi dap tu van -->
	 </div>
<!-- end region5 -->

<!-- begin region6 -->
		  <div id="region6">
		 <!--<div class="box_hot_tours">-->
			  	<? $region5BoxId = 0;    
	         foreach ($holderWeights as $k=>$v) :?>
	            <?if (strpos ($k, 'region6') === 0) :?>
	            <? $region5BoxId ++;?>
	            <? if ($region5BoxId === 1) :?>
	            <div class='region6'>
	            <?endif?>
	             <?if($v === 1):?>
	                <div  class='box' id="<?=$k.'_weight'.$v?>">
	                	<?echo $this->placeholder($k);?>
	                </div>
	                <?elseif($v === 2):?>
	                <div  class='box' id="<?=$k.'_weight'.$v?>">
	                	<?echo $this->placeholder($k);?>
	                </div>
	                <?endif?>
	            <?endif ?>
	        <? endforeach ?>
	            <? if ($region5BoxId > 0) :?>
	            </div>
	            <?endif?>
			<!--</div>-->
				<div class="clear"></div>
		 
		 <!--- begin region12 -->
		   <div id="region12">
		      <div class="region12_ad">
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
				   <img src="/public/themes/second/images/ad-1_15.gif" align="absmiddle" />
		      </div>
		   </div>
		 <!-- end region12 --->  
       
		<!-- begin region8 -->
          <div id="region8">
			<div class="suppost_ol">
				<? $region5BoxId = 0;    
			         		foreach ($holderWeights as $k=>$v) :?>
			            <?if (strpos ($k, 'region5') === 0) :?>
			            <? $region5BoxId ++;?>
			            <? if ($region5BoxId === 1) :?>
			            <div class='region5'>
			            <?endif?>
			            <?if($v === 2) :?>
			                <div  class='box' id="<?=$k.'_weight'.$v?>">
			                <?echo $this->placeholder($k);?>
			                </div>
			             <?endif?>
			            <?endif ?>
			        <? endforeach ?>
			            <? if ($region5BoxId > 0) :?>
			            </div>
			            <?endif?>
			</div>
			
			<div class="clear"></div>
			<div class="ad_region8" align="center"><img src="/public/themes/second/images/ad-region6.jpg" align="absmiddle" /></div>
			<div class="clear"></div>
			<div class="suppost_ol">
				<? $region5BoxId = 0;    
		         		foreach ($holderWeights as $k=>$v) :?>
		            <?if (strpos ($k, 'region5') === 0) :?>
		            <? $region5BoxId ++;?>
		            <? if ($region5BoxId === 1) :?>
		            <div class='region5'>
		            <?endif?>
		            <?if($v === 3) :?>
		                <div  class='box' id="<?=$k.'_weight'.$v?>">
		                <?echo $this->placeholder($k);?>
		                </div>
		             <?endif?>
		            <?endif ?>
		        <? endforeach ?>
		            <? if ($region5BoxId > 0) :?>
		            </div>
		        <?endif?>
		        
		        <div class="ad_region8" align="center"><img src="/public/themes/second/images/ad-region6.jpg" align="absmiddle" /></div>
		  </div>
        <!-- end region8 -->
		
		<div class="clear"></div>
		  <div  class="gallery" ><img style="width:300px; border:1px solid #CCCCCC; padding:3px;" src="/public/themes/second/images/ad_tour.jpg" align="absmiddle" /> </div>
		  <div class="clear"></div>
  </div>
<!-- end region6 -->
<div class="clear"></div>
<!-- begin region9 -->
			<div id="region9">
			<div class="bottom_left"></div>
			<div class="bottom_content">
			
			<div class="bottom_content_img"><img src="/public/themes/second/images/partner.jpg" align="absmiddle" /></div>
			<div class="bottom_content_img"><img src="/public/themes/second/images/partner.jpg" align="absmiddle" /></div>
			<div class="bottom_content_img"><img src="/public/themes/second/images/partner.jpg" align="absmiddle" /></div>
			<div class="bottom_content_img"><img src="/public/themes/second/images/partner.jpg" align="absmiddle" /></div>
			<div class="bottom_content_img"><img src="/public/themes/second/images/partner.jpg" align="absmiddle" /></div>
			
			</div>
			<div class="bottom_right"></div>
			</div>
			<!-- end region9 -->
		    <div class="clear"></div>
			<!-- begin region10 -->
			<div id="region10">
			<div class="clear"></div>
			<div class="footer_left"></div>
			<div class="footer_content">
			<div class="menu-footer"><a href="#"> <?=t(1500)?></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="#"><?=t(1501)?></a> &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#"><?=t(1502)?></a> &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="#"><?=t(1503)?></a></div>
			<div class="display-footer">Xem tốt nhất trên trình duyệt Firefox và Fock với độ phân giải 1024 x 768 (px)</div>
			<div class="menu-footer">Copyright @ 2009 herevietnam.vn. All rights reserved</div> 
			</div>
			<div class="footer_right"></div>
			<div class="clear"></div>	
			</div>
			<!-- end region10 -->	
		<div class="clear"></div>				
</div>
<!-- end region4 -->
<div class="clear"></div>

</div>
</body>
</html>
